.searchbox {
  position: absolute;
  z-index: 2;
  pointer-events: auto;
  width: 368px;
  top: 20px;
  left: 30px;
  box-sizing: border-box;
  box-shadow: 1px 2px 1px rgba(0, 0, 0, 0.15);

  .searchbox-content {
    width: 368px;
    border-radius: 4px;
    background: #fff;

    .searchbox-content-input {
      box-sizing: border-box;
      border: 0;
      padding: 9px 0;
      border-left: 10px solid transparent;
      line-height: 20px;
      font-size: 16px;
      height: 38px;
      position: relative;
      border-radius: 4px 0 0 4px;
      width: 260px;
      outline: 0;
      -webkit-appearance: none;
      font-size: 14px;
    }

    .searchbox-content-button {
      -webkit-box-sizing: border-box;
      box-sizing: border-box;
      float: right;
      right: 58px;
      height: 38px;
      width: 39px;
      cursor: pointer;
      position: relative;

      .route-button {
        width: 24px;
        height: 30px;
        margin-top: 4px;
        margin-left: 8px;
        content: url(../../../assets/images/gis1/lbs.svg);
      }
    }

    .right-button:before {
      content: '';
      position: absolute;
      width: 38px;
      left: 0;
      top: 6px;
      height: 26px;
      border-left: 1px solid #eee;
    }

    .searchbox-search-button {
      left: 40px;
      position: relative;
      pointer-events: auto;
      background-color: #3385ff;
      width: 57px;
      height: 38px;
      float: right;
      border: 0;
      padding: 0;
      cursor: pointer;
      border-radius: 0 4px 4px 0;
      -webkit-box-shadow: 1px 2px 1px rgba(0, 0, 0, 0.15);
      box-shadow: 1px 2px 1px rgba(0, 0, 0, 0.15);

      .search-svg {
        width: 24px;
        margin-top: 7px;
        margin-left: 16px;
        cursor: pointer;
        content: url(../../../assets/images/gis1/search.svg);
      }
    }
  }

  .searchbox-content:after {
    font-size: 0;
    zoom: 1;
    content: ' ';
    clear: both;
    display: block;
    height: 0;
    visibility: hidden;
  }
}

.map-tool {
  width: 263px;
  height: 34px;
  position: absolute;
  right: 30px;
  top: 22px;
  z-index: 100;
  background-color: #fff;
  color: #757575;
  box-sizing: border-box;
  box-shadow: 1px 2px 1px rgba(0, 0, 0, 0.15);
  border-radius: 4px;

  .iul {
    display: flex;
    padding-inline-start: 0px;

    .ili {
      list-style-type: none;
      cursor: pointer;
      font-size: 14px;
      line-height: 34px;

      .ia {
        padding: 0px 10px;
      }

      .line {
        background-color: #757575;
        margin-top: 10px;
        float: left;
        width: 1px;
        height: 19px;
      }
    }
  }
}

.map-sider {
  width: 370px;
  height: 400px;
  position: absolute;
  top: 62px;
  left: 30px;
  z-index: 100;
  background-color: #fff;
  color: #000;
  box-sizing: border-box;
  box-shadow: 1px 2px 1px rgba(0, 0, 0, 0.15);

  .menu {
    position: absolute;
    width: 50px;
    height: 100%;
    top: 0px;
    z-index: 100;
    background-color: #fff;
    // border-bottom: 1px solid #dadada;

    .tools {
      // border: 1px solid #ccc;
      box-shadow: 1px 0 0 #dadada;
      height: 100%;
      .item {
        display: grid;
        height: 50px;
        color: #adb0b5;
        text-align: center;
        cursor: pointer;
        padding: 10px;

        .icon {
          display: block;
          font-size: 20px;
          height: 0px;
        }

        .text {
          font-size: 12px;
          padding-top: 18px;
        }
      }

      .select {
        font-weight: bold;
        background-color: #3385ff;
        color: #fff;
      }
    }
  }

  .menu-content {
    width: 100%;
    height: 100%;
    padding: 10px 15px 15px 55px;
    position: absolute;
    overflow: scroll;
    overflow-y: auto;
  }
}

.map-style {
  position: absolute;
  margin-bottom: 20px;
  bottom: 0;
  right: 0;

  .mapType {
    height: 80px;
    cursor: pointer;
    width: 110px;
    background-color: rgba(255, 255, 255, 0);
  
    .mapTypeCard {
      height: 60px;
      width: 86px;
      position: absolute;
      border-radius: 2px;
      top: 10px;
      box-sizing: border-box;
      border: 1px solid rgba(153, 153, 153, 0.42);
  
      span {
        position: absolute;
        bottom: 0;
        right: 0;
        display: inline-block;
        padding: 3px 3px 2px 4px;
        font-size: 12px;
        line-height: 18px;
        color: #fff;
        border-top-left-radius: 2px;
      }
    }
  
    .mapTypeCard:hover {
      border: 1px solid #3385ff;
  
      span {
        background-color: #3385ff;
      }
  
      div {
        visibility: inherit;
      }
    }
  
    .active {
      border: 1px solid #3385ff !important;
  
      span {
        background-color: #3385ff !important;
      }
  
      div {
        visibility: inherit !important;
      }
    }
  
    // 矢量地图
    .normal {
      z-index: 1;
      right: 20px;
      background-image: url(../../../assets/images/gis1/map-ex-dt.png);
      background-repeat:no-repeat; 
      background-size:100% 100%;
      -moz-background-size:100% 100%;
    }

    // 影像地图
    .panorama {
      z-index: 2;
      right: 15px;
      background-image: url(../../../assets/images/gis1/map-yx-dt.png);
      background-repeat:no-repeat; 
      background-size:100% 100%;
      -moz-background-size:100% 100%;
    }

    // 三维
    .earth {
      z-index: 3;
      right: 10px;
      background-image: url(../../../assets/images/gis1/map-ex-sw.png);
      background-repeat:no-repeat; 
      background-size:100% 100%;
      -moz-background-size:100% 100%;
    }
  }

  .mapType:hover {
    // width: 202px;
    width: 298px;
    background-color: #fff;
    .mapTypeCard {
      border: 1px solid rgba(255, 255, 255, 0);
    }
    .mapTypeCard:hover {
      border: 1px solid #3385ff;
    }
    .panorama {
      right: 106px;
    }
    .normal {
      right: 202px;
    }
  }
}